package cn.cqie.attendance.student.domian;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: xiehaodong
 * @Date: 2021/7/6 - 16:37
 * @Description: cn.cqie.attendance.student.domian
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryHomework implements Serializable {

    private Long stuId;
    private int status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
    private String courseName;
    private String homeworkTheme;
    private int homeworkType;
    private String trainteacherName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date completeTime;
}
